package com.yuexin.project.dailymenu.everyday.service;

import java.io.FileInputStream;
import java.util.List;

import com.yuexin.project.dailymenu.everyday.domain.EverydayMenu;
import com.yuexin.project.dailymenu.everyday.export.ExportDayItem;
import com.yuexin.project.dailymenu.everyday.export.ExportError;
import com.yuexin.project.dailymenu.everyday.export.ExportErrorResult;

/**
 * 每日菜单 服务层
 * 
 * @author yuexin
 * @date 2018-10-14
 */
public interface IEverydayMenuService 
{
	/**
     * 查询每日菜单信息
     * 
     * @param dailyId 每日菜单ID
     * @return 每日菜单信息
     */
	public EverydayMenu selectEverydayMenuById(Integer dailyId);
	
	/**
     * 查询每日菜单列表
     * 
     * @param everydayMenu 每日菜单信息
     * @return 每日菜单集合
     */
	public List<EverydayMenu> selectEverydayMenuList(EverydayMenu everydayMenu);
	
	/**
     * 新增每日菜单
     * 
     * @param everydayMenu 每日菜单信息
     * @return 结果
     */
	public int insertEverydayMenu(EverydayMenu everydayMenu);
	
	/**
     * 修改每日菜单
     * 
     * @param everydayMenu 每日菜单信息
     * @return 结果
     */
	public int updateEverydayMenu(EverydayMenu everydayMenu);
		
	/**
     * 删除每日菜单信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteEverydayMenuByIds(String ids);
	
	public int updateRule(EverydayMenu everydayMenu);

	public List<ExportDayItem> getExportMenuList(String strStartDay, String strEndDay, String companyId, String dinnerType);

	public ExportErrorResult exportExcel(String excelPath, String companyId, String dinnerType, int replaceIt);

}
